package com.cc.blog.service;

import com.cc.blog.vo.params.CommentParam;
import com.cc.blog.vo.Result;

public interface CommentsService {

    /**
     * 根据文章id查找评论
     * @param id
     * @return
     */
    Result commentsByArticleId(Long id);

    /**
     * 评论
     * @param commentParam
     * @return
     */
    Result writeComment(CommentParam commentParam);
}
